home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Rockford Magazine
/
Rockford_Magazine_007_19xx_-_de_Disk_1_of_2_Side_A.d64
/
dir_notebox v1.0
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
3KB
|
89 lines
100 rem--------------------------------
110 rem dir/notebox freeware 1993
120 rem--------------------------------
121 rem hallo freunde! dieses prg darf
122 rem exklusiv - nur - auf meiner
123 rem rockford-fd serie erscheinen!
124 rem--------------------------------
125 rem status:fd/11.1993 autor:a.l.
126 rem--------------------------------
127 rem alex zop, amselweg 1
128 rem d-85293 reichertshausen a.d.ilm
129 rem--------------------------------
130 cs$=chr$ (147):cd$=chr$(17)
131 poke53281,0:poke53280,0
132 print cd$cs$"[158][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"cd$
140 print "[145][145][158] directory-notebox v1.0 -- auswahlmenue "
141 print"[145][158][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"
150 print " 1[159] - lesen"
160 print " 2[159] - loeschen"
170 print " 3[159] - schreiben"
180 print " 4[159] - beenden"
181 print"[158][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"
182 print"[145][158] freeware 12/1993 by alex zop"
183 print"[218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"
190 get k$:if k$="" then 190
200 if val (k$)<1 or val (k$)>4 then run
210 if k$="4" then 710
220 on val (k$) goto 250,320,420
230 :
240 rem---lesen------------------------
250 print"[145][159]":gosub 650
260 for i=1 to 85:get #2,z$:print z$;:next
270 print :gosub 700
280 print cd$"[158]---------- weiter mit space ----------"
290 get k$:if k$="" then 290
300 run
310 rem---loeschen---------------------
320 print "[159] soll die note wirklich von der disk"
321 print" geloescht werden?"
322 print"[158]---------------- j / n[158] -----------------"
330 get k$:if k$="" then 330
340 if k$<>"j" then run
350 gosub 650
360 for i=1 to 85:print#2,chr$ (0);:next
370 gosub 690
380 print "[145][145][158]--------- text ist geloescht! ----------"
390 for i=0 to 2000:next :run
400 rem---schreiben--------------------
420 print "[145][145][145][145][145][145][145][145][158]los gehts!":print"[159] < fin"
421 print"[145][145][145][145][145][145][145]"
430 open 1,0:n=1:t$=""
440 get #1,k$:if k$="" then 440
450 if k$=chr$ (13) then 510
460 print k$;
470 if k$=chr$ (20) then gosub 560:goto 440
480 gosub 590
490 t$=t$+k$:if n>=85 then 510
500 n=n+1:goto 440
510 close 1:print cd$cd$
520 input"[158]---------- ist der text o.k [159](j/n)[158]---";g$
522 if g$="j"then 540
523 if g$="n"then 130
524 if g$<>"" then print"[145][145]":goto520
540 gosub 650:print#2,t$;:gosub 690:run
550 rem---'delete'---------------------
560 l=len (t$)-1:t$=left$ (t$,l):n=n-1
570 return
580 rem---'zeichenzaehler'-------------
590 s=peek (211):z=peek (214)
600 if n<>1 and s=0 then s=s+1
610 poke 211,s:poke 214,z:sys 58640
620 return
630 rem---sektor 0 in puffer schreiben-
640 rem---und pufferpointer setzen-----
650 open 15,8,15,"i":open 2,8,2,"#"
660 print#15,"u1 2 0 18 0"
670 print#15,"b-p 2 171":return
680 rem---auf disk zurueckschreiben----
690 print#15,"u2 2 0 18 0"
700 close 2:close 15:return
710 input"[159] willst du wirklich aufhoeren[150] (j/n)[159]";p$
711 if p$="n" then 130
712 if p$="j" then 730
713 if p$<>"" then print"[145][145][145][145][145]":goto 710
730 print"[145][145][145][145][145][145][145]servus, du oida schlawina!!!!"
740 for h=1 to 7000: next h
745 poke53280,6 :poke 53281,16
750 print"[147]"